//
//  ZYHActivityIndicatorView.h
//  ZYHActivityIndicatorView
//
//  Created by mac on 15/9/29.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZYHActivityIndicatorView : UIView

@property(nonatomic,strong)UIWindow *coverWindow;
@property(nonatomic,strong)UIView *shadeView;
@property(nonatomic,strong)UIActivityIndicatorView *activity;
@property (nonatomic, strong) UILabel *activityLabel;
@property (nonatomic, strong) UIView *borderView;

//在指定的视图中创建并添加活动视图，使用指定的标签和颜色。
+ (ZYHActivityIndicatorView *)overActivityViewForView:(UIView *)addToView withLabelStr:(NSString *)labelText andColor:(UIColor *)theColor;


//在指定的视图中创建并添加活动视图，使用指定的标签和一个固定的标签宽度。
+ (ZYHActivityIndicatorView *)activityViewForView:(UIView *)addToView withLabelStr:(NSString *)labelText width:(NSUInteger)aLabelWidth andColor:(UIColor *)theColor;



//将视图从父视图删除并释放它
+ (void)removeView;

@end
